const types = {
    type: 'IMPORT_JS',
    icon: '',
    title: '',
    version: '1.0.0',
    author: 'XJ王大哥(QQ2357942846)',
    isInvisibleWidget: true,
    isGlobalWidget: true,
    properties: [],
    methods: [],
    events: []
}

class XJWidget extends InvisibleWidget {
    constructor(p) {
        super(p)
        Object.assign(this,p)
    }
}

for (let i of types.methods) i.blockOptions = {...i.blockOptions, callMethodLabel: false}

exports.types = types
exports.widget = XJWidget